package com.blb.service;

import com.blb.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoxiong
 * @since 2020-06-04
 */
public interface IMenuService extends IService<Menu> {


    List<Menu> getMenuByUserName( @Param("account") String account, @Param("id") String id);

    /**
     * 获取权限列表
     * @param pid
     * @return
     */
    List<Menu> getTreeMenu(String pid);
}
